package com.intco.ait.quotation.api.infrastructure.mybatis.entity.encodingPlatform;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 物料框条明细实体类
 *
 * @author zhang yong
 * @version 1.0.1
 * @date 2024-04-13 14:32
 */
@Data
@Accessors(chain = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@EqualsAndHashCode(callSuper = false)
//@Schema(description = "物料框条明细实体类")
public class InventoryMoulding implements Serializable {
    //@Schema(description = "添加主键 首次添加不用传 后台生成后携带")
    private String addId;
    //@Schema(description = "行主键 后台提供 删除的时候需要回传")
    private String itemId;
    //@Schema(description = "框条类别 外框|内框|嵌条|撑脚|其他 基础数据的框条类别", requiredMode = Schema.RequiredMode.REQUIRED)
    private String mouldType;
    //@Schema(description = "切割方式 横切|竖切|其他 基础数据中切割方式的value", requiredMode = Schema.RequiredMode.REQUIRED)
    private String cuttingMode;
    //@Schema(description = "切割方式 横切|竖切|其他 基础数据中切割方式的name", requiredMode = Schema.RequiredMode.REQUIRED)
    private String cuttingModeName;
    //@Schema(description = "框条主键", requiredMode = Schema.RequiredMode.REQUIRED)
    private String mouldId;
    //@Schema(description = "框条编码", requiredMode = Schema.RequiredMode.REQUIRED)
    private String mouldCode;
    //@Schema(description = "内径尺寸"
            //, requiredMode = Schema.RequiredMode.REQUIRED
    //)
    private String innerDiameterSize;
    //@Schema(description = "框数量", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer quantity;

    //@Schema(hidden = true, description = "公司主键")
    private String companyId;
    //@Schema(hidden = true, description = "物料编码")
    private String invCode;
    //@Schema(hidden = true,description = "报关标识 基础数据的报关标识value")
    private String declareFlag;
    //@Schema(hidden = true,description = "报关标识 基础数据的报关标识name")
    private String declareFlagName;
    //@Schema(hidden = true,description = "创建人")
    private String createBy;
    //@Schema(description = "")
    private String buildFun;
    //@Schema(description = "pre-cutting切割角度")
    private String prCuttingMethod;

    //public String compareString() {
    //    return mouldType + cuttingMode + mouldCode + innerDiameterSize;
    //}
}
